Class: Kaltura::KalturaSearchResultResponse

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.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

#need_media_infoObject

Returns the value of attribute need_media_info.



9001
9002
9003
# File 'lib/kaltura_types.rb', line 9001

def need_media_info
  @need_media_info
end

#objectsObject

Returns the value of attribute objects.



9000
9001
9002
# File 'lib/kaltura_types.rb', line 9000

def objects
  @objects
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9007
9008
9009
9010
9011
9012
9013
9014
9015
# File 'lib/kaltura_types.rb', line 9007

def from_xml(xml_element)
  super
  if xml_element.elements['objects'] != nil
    self.objects = KalturaClientBase.object_from_xml(xml_element.elements['objects'], 'KalturaSearchResult')
  end
  if xml_element.elements['needMediaInfo'] != nil
    self.need_media_info = xml_element.elements['needMediaInfo'].text
  end
end