Class: Kaltura::KalturaAttachmentAsset
- Inherits:
-
KalturaAsset
- Object
- KalturaObjectBase
- KalturaAsset
- Kaltura::KalturaAttachmentAsset
- Defined in:
- lib/kaltura_plugins/kaltura_attachment_client_plugin.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#filename ⇒ Object
The filename of the attachment asset content.
-
#format ⇒ Object
The attachment format.
-
#status ⇒ Object
The status of the asset.
-
#title ⇒ Object
Attachment asset title.
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
#filename ⇒ Object
The filename of the attachment asset content
61 62 63 |
# File 'lib/kaltura_plugins/kaltura_attachment_client_plugin.rb', line 61 def filename @filename end |
#format ⇒ Object
The attachment format
67 68 69 |
# File 'lib/kaltura_plugins/kaltura_attachment_client_plugin.rb', line 67 def format @format end |
#status ⇒ Object
The status of the asset
70 71 72 |
# File 'lib/kaltura_plugins/kaltura_attachment_client_plugin.rb', line 70 def status @status end |
#title ⇒ Object
Attachment asset title
64 65 66 |
# File 'lib/kaltura_plugins/kaltura_attachment_client_plugin.rb', line 64 def title @title end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
76 77 78 79 80 81 82 |
# File 'lib/kaltura_plugins/kaltura_attachment_client_plugin.rb', line 76 def from_xml(xml_element) super self.filename = xml_element.elements['filename'].text self.title = xml_element.elements['title'].text self.format = xml_element.elements['format'].text self.status = xml_element.elements['status'].text end |