Class: Kaltura::KalturaESearchCategoryEntryItem
- Inherits:
-
KalturaESearchAbstractEntryItem
- Object
- KalturaObjectBase
- KalturaESearchBaseItem
- KalturaESearchEntryBaseItem
- KalturaESearchAbstractEntryItem
- Kaltura::KalturaESearchCategoryEntryItem
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Instance Attribute Summary collapse
-
#category_entry_status ⇒ Object
Returns the value of attribute category_entry_status.
-
#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
#category_entry_status ⇒ Object
Returns the value of attribute category_entry_status.
1007 1008 1009 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1007 def category_entry_status @category_entry_status end |
#field_name ⇒ Object
Returns the value of attribute field_name.
1006 1007 1008 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1006 def field_name @field_name end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1013 1014 1015 1016 1017 1018 1019 1020 1021 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1013 def from_xml(xml_element) super if xml_element.elements['fieldName'] != nil self.field_name = xml_element.elements['fieldName'].text end if xml_element.elements['categoryEntryStatus'] != nil self.category_entry_status = xml_element.elements['categoryEntryStatus'].text end end |