Class: Kaltura::KalturaESearchHistory

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_search_history_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#search_termObject

Returns the value of attribute search_term.



34
35
36
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 34

def search_term
  @search_term
end

#searched_objectObject

Returns the value of attribute searched_object.



35
36
37
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 35

def searched_object
  @searched_object
end

#timestampObject

Returns the value of attribute timestamp.



36
37
38
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 36

def timestamp
  @timestamp
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 42

def from_xml(xml_element)
	super
	if xml_element.elements['searchTerm'] != nil
		self.search_term = xml_element.elements['searchTerm'].text
	end
	if xml_element.elements['searchedObject'] != nil
		self.searched_object = xml_element.elements['searchedObject'].text
	end
	if xml_element.elements['timestamp'] != nil
		self.timestamp = xml_element.elements['timestamp'].text
	end
end