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.



8920
8921
8922
# File 'lib/kaltura_types.rb', line 8920

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



8919
8920
8921
# File 'lib/kaltura_types.rb', line 8919

def extra_data
  @extra_data
end

#key_wordsObject

Returns the value of attribute key_words.



8913
8914
8915
# File 'lib/kaltura_types.rb', line 8913

def key_words
  @key_words
end

#media_typeObject

Returns the value of attribute media_type.



8915
8916
8917
# File 'lib/kaltura_types.rb', line 8915

def media_type
  @media_type
end

#search_sourceObject

Returns the value of attribute search_source.



8914
8915
8916
# File 'lib/kaltura_types.rb', line 8914

def search_source
  @search_source
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
# File 'lib/kaltura_types.rb', line 8929

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