Class: Kaltura::KalturaESearchItemData

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

#highlightObject

Returns the value of attribute highlight.



368
369
370
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 368

def highlight
  @highlight
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



371
372
373
374
375
376
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 371

def from_xml(xml_element)
  super
  if xml_element.elements['highlight'] != nil
    self.highlight = KalturaClientBase.object_from_xml(xml_element.elements['highlight'], 'KalturaESearchHighlight')
  end
end