Class: Kaltura::KalturaConvertCaptionAssetJobData
- Inherits:
-
KalturaJobData
- Object
- KalturaObjectBase
- KalturaJobData
- Kaltura::KalturaConvertCaptionAssetJobData
- Defined in:
- lib/kaltura_plugins/kaltura_caption_client_plugin.rb
Instance Attribute Summary collapse
-
#caption_asset_id ⇒ Object
Returns the value of attribute caption_asset_id.
-
#file_encryption_key ⇒ Object
Returns the value of attribute file_encryption_key.
-
#file_location ⇒ Object
Returns the value of attribute file_location.
-
#from_type ⇒ Object
Returns the value of attribute from_type.
-
#to_type ⇒ Object
Returns the value of attribute to_type.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#caption_asset_id ⇒ Object
Returns the value of attribute caption_asset_id.
260 261 262 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 260 def @caption_asset_id end |
#file_encryption_key ⇒ Object
Returns the value of attribute file_encryption_key.
262 263 264 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 262 def file_encryption_key @file_encryption_key end |
#file_location ⇒ Object
Returns the value of attribute file_location.
261 262 263 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 261 def file_location @file_location end |
#from_type ⇒ Object
Returns the value of attribute from_type.
263 264 265 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 263 def from_type @from_type end |
#to_type ⇒ Object
Returns the value of attribute to_type.
264 265 266 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 264 def to_type @to_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 267 def from_xml(xml_element) super if xml_element.elements['captionAssetId'] != nil self. = xml_element.elements['captionAssetId'].text end if xml_element.elements['fileLocation'] != nil self.file_location = xml_element.elements['fileLocation'].text end if xml_element.elements['fileEncryptionKey'] != nil self.file_encryption_key = xml_element.elements['fileEncryptionKey'].text end if xml_element.elements['fromType'] != nil self.from_type = xml_element.elements['fromType'].text end if xml_element.elements['toType'] != nil self.to_type = xml_element.elements['toType'].text end end |