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.
1150 1151 1152 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1150 def distribution_profile @distribution_profile end |
#distribution_profile_id ⇒ Object
Returns the value of attribute distribution_profile_id.
1149 1150 1151 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1149 def distribution_profile_id @distribution_profile_id end |
#entry_distribution ⇒ Object
Returns the value of attribute entry_distribution.
1152 1153 1154 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1152 def entry_distribution @entry_distribution end |
#entry_distribution_id ⇒ Object
Returns the value of attribute entry_distribution_id.
1151 1152 1153 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1151 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
1164 1165 1166 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1164 def media_files @media_files end |
#provider_data ⇒ Object
Additional data that relevant for the provider only
1157 1158 1159 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1157 def provider_data @provider_data end |
#provider_type ⇒ Object
Returns the value of attribute provider_type.
1155 1156 1157 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1155 def provider_type @provider_type end |
#remote_id ⇒ Object
Id of the media in the remote system
1154 1155 1156 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1154 def remote_id @remote_id end |
#results ⇒ Object
The results as returned from the remote destination
1159 1160 1161 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1159 def results @results end |
#sent_data ⇒ Object
The data as sent to the remote destination
1161 1162 1163 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1161 def sent_data @sent_data end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1173 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 |