class Kaltura::KalturaLike

Attributes

created_at[RW]

The date of the like's creation

entry_id[RW]

The id of the entry that the like belongs to

user_id[RW]

The id of user that the like belongs to

Public Instance Methods

created_at=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_like_client_plugin.rb, line 43
def created_at=(val)
        @created_at = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_plugins/kaltura_like_client_plugin.rb, line 47
def from_xml(xml_element)
        super
        if xml_element.elements['entryId'] != nil
                self.entry_id = xml_element.elements['entryId'].text
        end
        if xml_element.elements['userId'] != nil
                self.user_id = xml_element.elements['userId'].text
        end
        if xml_element.elements['createdAt'] != nil
                self.created_at = xml_element.elements['createdAt'].text
        end
end