Class: Kaltura::KalturaESearchCaptionItem
- Inherits:
-
KalturaESearchEntryAbstractNestedItem
- Object
- KalturaObjectBase
- KalturaESearchBaseItem
- KalturaESearchEntryBaseItem
- KalturaESearchEntryBaseNestedObject
- KalturaESearchEntryNestedBaseItem
- KalturaESearchEntryAbstractNestedItem
- Kaltura::KalturaESearchCaptionItem
- 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 KalturaESearchEntryAbstractNestedItem
#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.
1407 1408 1409 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1407 def field_name @field_name end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1410 1411 1412 1413 1414 1415 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1410 def from_xml(xml_element) super if xml_element.elements['fieldName'] != nil self.field_name = xml_element.elements['fieldName'].text end end |