Class: Kaltura::KalturaDailymotionDistributionCaptionInfo
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaDailymotionDistributionCaptionInfo
- Defined in:
- lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#asset_id ⇒ Object
Returns the value of attribute asset_id.
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#format ⇒ Object
Returns the value of attribute format.
-
#language ⇒ Object
Returns the value of attribute language.
-
#remote_id ⇒ Object
Returns the value of attribute remote_id.
-
#version ⇒ Object
Returns the value of attribute version.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
65 66 67 |
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 65 def action @action end |
#asset_id ⇒ Object
Returns the value of attribute asset_id.
67 68 69 |
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 67 def asset_id @asset_id end |
#file_path ⇒ Object
Returns the value of attribute file_path.
63 64 65 |
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 63 def file_path @file_path end |
#format ⇒ Object
Returns the value of attribute format.
68 69 70 |
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 68 def format @format end |
#language ⇒ Object
Returns the value of attribute language.
62 63 64 |
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 62 def language @language end |
#remote_id ⇒ Object
Returns the value of attribute remote_id.
64 65 66 |
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 64 def remote_id @remote_id end |
#version ⇒ Object
Returns the value of attribute version.
66 67 68 |
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 66 def version @version end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 77 def from_xml(xml_element) super if xml_element.elements['language'] != nil self.language = xml_element.elements['language'].text end if xml_element.elements['filePath'] != nil self.file_path = xml_element.elements['filePath'].text end if xml_element.elements['remoteId'] != nil self.remote_id = xml_element.elements['remoteId'].text end if xml_element.elements['action'] != nil self.action = xml_element.elements['action'].text end if xml_element.elements['version'] != nil self.version = xml_element.elements['version'].text end if xml_element.elements['assetId'] != nil self.asset_id = xml_element.elements['assetId'].text end if xml_element.elements['format'] != nil self.format = xml_element.elements['format'].text end end |