class Kaltura::KalturaThumbCuePoint

Attributes

asset_id[RW]
description[RW]
sub_type[RW]

The sub type of the ThumbCuePoint

title[RW]

Public Instance Methods

from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaCuePoint#from_xml
# File lib/kaltura_plugins/kaltura_thumb_cue_point_client_plugin.rb, line 70
def from_xml(xml_element)
        super
        if xml_element.elements['assetId'] != nil
                self.asset_id = xml_element.elements['assetId'].text
        end
        if xml_element.elements['description'] != nil
                self.description = xml_element.elements['description'].text
        end
        if xml_element.elements['title'] != nil
                self.title = xml_element.elements['title'].text
        end
        if xml_element.elements['subType'] != nil
                self.sub_type = xml_element.elements['subType'].text
        end
end
sub_type=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_thumb_cue_point_client_plugin.rb, line 66
def sub_type=(val)
        @sub_type = val.to_i
end