Class: Kaltura::KalturaESearchCategoryUserItem
- Inherits:
-
KalturaESearchAbstractCategoryItem
- Object
- KalturaObjectBase
- KalturaESearchBaseItem
- KalturaESearchCategoryBaseItem
- KalturaESearchAbstractCategoryItem
- Kaltura::KalturaESearchCategoryUserItem
- 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.
-
#permission_level ⇒ Object
Returns the value of attribute permission_level.
-
#permission_name ⇒ Object
Returns the value of attribute permission_name.
Attributes inherited from KalturaESearchAbstractCategoryItem
#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.
1245 1246 1247 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1245 def field_name @field_name end |
#permission_level ⇒ Object
Returns the value of attribute permission_level.
1246 1247 1248 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1246 def @permission_level end |
#permission_name ⇒ Object
Returns the value of attribute permission_name.
1247 1248 1249 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1247 def @permission_name end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1253 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['permissionLevel'] != nil self. = xml_element.elements['permissionLevel'].text end if xml_element.elements['permissionName'] != nil self. = xml_element.elements['permissionName'].text end end |