Class: Kaltura::KalturaSearch

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Direct Known Subclasses

KalturaSearchResult

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

#auth_dataObject

Returns the value of attribute auth_data.



5494
5495
5496
# File 'lib/kaltura_types.rb', line 5494

def auth_data
  @auth_data
end

#extra_dataObject

Use this field to pass dynamic data for searching For example - if you set this field to “mymovies_$partner_id” The $partner_id will be automatically replcaed with your real partner Id



5493
5494
5495
# File 'lib/kaltura_types.rb', line 5493

def extra_data
  @extra_data
end

#key_wordsObject

Returns the value of attribute key_words.



5486
5487
5488
# File 'lib/kaltura_types.rb', line 5486

def key_words
  @key_words
end

#media_typeObject

Returns the value of attribute media_type.



5488
5489
5490
# File 'lib/kaltura_types.rb', line 5488

def media_type
  @media_type
end

#search_sourceObject

Returns the value of attribute search_source.



5487
5488
5489
# File 'lib/kaltura_types.rb', line 5487

def search_source
  @search_source
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5503
5504
5505
5506
5507
5508
5509
5510
# File 'lib/kaltura_types.rb', line 5503

def from_xml(xml_element)
	super
	self.key_words = xml_element.elements['keyWords'].text
	self.search_source = xml_element.elements['searchSource'].text
	self.media_type = xml_element.elements['mediaType'].text
	self.extra_data = xml_element.elements['extraData'].text
	self.auth_data = xml_element.elements['authData'].text
end