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.
921 922 923 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 921 def distribution_profile @distribution_profile end |
#distribution_profile_id ⇒ Object
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_distribution ⇒ Object
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_id ⇒ Object
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_files ⇒ Object
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_data ⇒ Object
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_type ⇒ Object
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_id ⇒ Object
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 |
#results ⇒ Object
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_data ⇒ Object
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 |