Class: Kaltura::KalturaFacebookCaptionDistributionInfo
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaFacebookCaptionDistributionInfo
- Defined in:
- lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#asset_id ⇒ Object
Returns the value of attribute asset_id.
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#label ⇒ Object
Returns the value of attribute label.
-
#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
#asset_id ⇒ Object
Returns the value of attribute asset_id.
49 50 51 |
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 49 def asset_id @asset_id end |
#file_path ⇒ Object
Returns the value of attribute file_path.
46 47 48 |
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 46 def file_path @file_path end |
#label ⇒ Object
Returns the value of attribute label.
45 46 47 |
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 45 def label @label end |
#language ⇒ Object
Returns the value of attribute language.
44 45 46 |
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 44 def language @language end |
#remote_id ⇒ Object
Returns the value of attribute remote_id.
47 48 49 |
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 47 def remote_id @remote_id end |
#version ⇒ Object
Returns the value of attribute version.
48 49 50 |
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 48 def version @version end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 52 def from_xml(xml_element) super if xml_element.elements['language'] != nil self.language = xml_element.elements['language'].text end if xml_element.elements['label'] != nil self.label = xml_element.elements['label'].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['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 end |