Class: Kaltura::KalturaESearchGroupUserItem

Inherits:
KalturaESearchAbstractUserItem show all
Defined in:
lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaESearchAbstractUserItem

#add_highlight, #item_type, #range, #search_term

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#creation_modeObject

Returns the value of attribute creation_mode.



1104
1105
1106
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1104

def creation_mode
  @creation_mode
end

#field_nameObject

Returns the value of attribute field_name.



1103
1104
1105
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1103

def field_name
  @field_name
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1110
1111
1112
1113
1114
1115
1116
1117
1118
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1110

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['creationMode'] != nil
    self.creation_mode = xml_element.elements['creationMode'].text
  end
end