Class: Kaltura::KalturaCaptionAsset
- Inherits:
-
KalturaAsset
- Object
- KalturaObjectBase
- KalturaAsset
- Kaltura::KalturaCaptionAsset
- Defined in:
- lib/kaltura_plugins/kaltura_caption_client_plugin.rb
Instance Attribute Summary collapse
-
#accuracy ⇒ Object
The Accuracy of the caption content.
-
#caption_params_id ⇒ Object
The Caption Params used to create this Caption Asset.
-
#format ⇒ Object
The caption format.
-
#is_default ⇒ Object
Is default caption asset of the entry.
-
#label ⇒ Object
Friendly label.
-
#language ⇒ Object
The language of the caption asset content.
-
#language_code ⇒ Object
The language of the caption asset content.
-
#parent_id ⇒ Object
The parent id of the asset.
-
#status ⇒ Object
The status of the asset.
Attributes inherited from KalturaAsset
#actual_source_asset_params_ids, #created_at, #deleted_at, #description, #entry_id, #file_ext, #id, #partner_data, #partner_description, #partner_id, #size, #tags, #updated_at, #version
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#accuracy ⇒ Object
The Accuracy of the caption content
88 89 90 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 88 def accuracy @accuracy end |
#caption_params_id ⇒ Object
The Caption Params used to create this Caption Asset
64 65 66 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 64 def @caption_params_id end |
#format ⇒ Object
The caption format
79 80 81 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 79 def format @format end |
#is_default ⇒ Object
Is default caption asset of the entry
73 74 75 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 73 def is_default @is_default end |
#label ⇒ Object
Friendly label
76 77 78 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 76 def label @label end |
#language ⇒ Object
The language of the caption asset content
67 68 69 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 67 def language @language end |
#language_code ⇒ Object
The language of the caption asset content
70 71 72 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 70 def language_code @language_code end |
#parent_id ⇒ Object
The parent id of the asset
85 86 87 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 85 def parent_id @parent_id end |
#status ⇒ Object
The status of the asset
82 83 84 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 82 def status @status end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 103 def from_xml(xml_element) super self. = xml_element.elements['captionParamsId'].text self.language = xml_element.elements['language'].text self.language_code = xml_element.elements['languageCode'].text self.is_default = xml_element.elements['isDefault'].text self.label = xml_element.elements['label'].text self.format = xml_element.elements['format'].text self.status = xml_element.elements['status'].text self.parent_id = xml_element.elements['parentId'].text self.accuracy = xml_element.elements['accuracy'].text end |