Class: Kaltura::KalturaESearchHistoryFilter

Inherits:
KalturaESearchBaseFilter 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_term_starts_withObject

Returns the value of attribute search_term_starts_with.



58
59
60
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 58

def search_term_starts_with
  @search_term_starts_with
end

#searched_object_inObject

Returns the value of attribute searched_object_in.



59
60
61
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 59

def searched_object_in
  @searched_object_in
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



62
63
64
65
66
67
68
69
70
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 62

def from_xml(xml_element)
	super
	if xml_element.elements['searchTermStartsWith'] != nil
		self.search_term_starts_with = xml_element.elements['searchTermStartsWith'].text
	end
	if xml_element.elements['searchedObjectIn'] != nil
		self.searched_object_in = xml_element.elements['searchedObjectIn'].text
	end
end