Class: Kaltura::KalturaESearchMetadataItemData

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

Instance Attribute Summary collapse

Attributes inherited from KalturaESearchItemData

#highlight

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#metadata_field_idObject

Returns the value of attribute metadata_field_id.



910
911
912
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 910

def 
  
end

#metadata_profile_idObject

Returns the value of attribute metadata_profile_id.



909
910
911
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 909

def 
  
end

#value_intObject

Returns the value of attribute value_int.



912
913
914
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 912

def value_int
  @value_int
end

#value_textObject

Returns the value of attribute value_text.



911
912
913
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 911

def value_text
  @value_text
end

#xpathObject

Returns the value of attribute xpath.



908
909
910
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 908

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 924

def from_xml(xml_element)
  super
  if xml_element.elements['xpath'] != nil
    self.xpath = xml_element.elements['xpath'].text
  end
  if xml_element.elements['metadataProfileId'] != nil
    self. = xml_element.elements['metadataProfileId'].text
  end
  if xml_element.elements['metadataFieldId'] != nil
    self. = xml_element.elements['metadataFieldId'].text
  end
  if xml_element.elements['valueText'] != nil
    self.value_text = xml_element.elements['valueText'].text
  end
  if xml_element.elements['valueInt'] != nil
    self.value_int = xml_element.elements['valueInt'].text
  end
end