class Kaltura::KalturaESearchItemDataResult

Attributes

items[RW]
items_type[RW]
total_count[RW]

Public Instance Methods

from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb, line 389
def from_xml(xml_element)
        super
        if xml_element.elements['totalCount'] != nil
                self.total_count = xml_element.elements['totalCount'].text
        end
        if xml_element.elements['items'] != nil
                self.items = KalturaClientBase.object_from_xml(xml_element.elements['items'], 'KalturaESearchItemData')
        end
        if xml_element.elements['itemsType'] != nil
                self.items_type = xml_element.elements['itemsType'].text
        end
end
total_count=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb, line 385
def total_count=(val)
        @total_count = val.to_i
end