class Kaltura::KalturaAttachmentAsset

Attributes

filename[RW]

The filename of the attachment asset content

format[RW]

The attachment format

status[RW]

The status of the asset

title[RW]

Attachment asset title

Public Instance Methods

from_xml(xml_element) click to toggle source
Calls superclass method
# File lib/kaltura_plugins/kaltura_attachment_client_plugin.rb, line 73
def from_xml(xml_element)
        super
        if xml_element.elements['filename'] != nil
                self.filename = xml_element.elements['filename'].text
        end
        if xml_element.elements['title'] != nil
                self.title = xml_element.elements['title'].text
        end
        if xml_element.elements['format'] != nil
                self.format = xml_element.elements['format'].text
        end
        if xml_element.elements['status'] != nil
                self.status = xml_element.elements['status'].text
        end
end
status=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_attachment_client_plugin.rb, line 69
def status=(val)
        @status = val.to_i
end