class Kaltura::KalturaSearch

Attributes

auth_data[RW]
extra_data[RW]

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
key_words[RW]
media_type[RW]
search_source[RW]

Public Instance Methods

from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_types.rb, line 9083
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
media_type=(val) click to toggle source
# File lib/kaltura_types.rb, line 9079
def media_type=(val)
        @media_type = val.to_i
end
search_source=(val) click to toggle source
# File lib/kaltura_types.rb, line 9076
def search_source=(val)
        @search_source = val.to_i
end