Class: Kaltura::KalturaESearchMetadataItemData
- Inherits:
-
KalturaESearchItemData
- Object
- KalturaObjectBase
- KalturaESearchItemData
- Kaltura::KalturaESearchMetadataItemData
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Instance Attribute Summary collapse
-
#metadata_field_id ⇒ Object
Returns the value of attribute metadata_field_id.
-
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
-
#value_int ⇒ Object
Returns the value of attribute value_int.
-
#value_text ⇒ Object
Returns the value of attribute value_text.
-
#xpath ⇒ Object
Returns the value of attribute xpath.
Attributes inherited from KalturaESearchItemData
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#metadata_field_id ⇒ Object
Returns the value of attribute metadata_field_id.
923 924 925 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 923 def @metadata_field_id end |
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
922 923 924 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 922 def @metadata_profile_id end |
#value_int ⇒ Object
Returns the value of attribute value_int.
925 926 927 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 925 def value_int @value_int end |
#value_text ⇒ Object
Returns the value of attribute value_text.
924 925 926 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 924 def value_text @value_text end |
#xpath ⇒ Object
Returns the value of attribute xpath.
921 922 923 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 921 def xpath @xpath end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 937 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 |