Class: Kaltura::KalturaESearchEntryItem
- Inherits:
-
KalturaESearchAbstractEntryItem
- Object
- KalturaObjectBase
- KalturaESearchBaseItem
- KalturaESearchEntryBaseItem
- KalturaESearchAbstractEntryItem
- Kaltura::KalturaESearchEntryItem
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Instance Attribute Summary collapse
-
#field_name ⇒ Object
Returns the value of attribute field_name.
Attributes inherited from KalturaESearchAbstractEntryItem
#add_highlight, #item_type, #range, #search_term
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#field_name ⇒ Object
Returns the value of attribute field_name.
1274 1275 1276 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1274 def field_name @field_name end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1277 1278 1279 1280 1281 1282 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1277 def from_xml(xml_element) super if xml_element.elements['fieldName'] != nil self.field_name = xml_element.elements['fieldName'].text end end |