Class: Kaltura::KalturaSearchCondition

Inherits:
KalturaSearchItem show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#fieldObject

Returns the value of attribute field.



15015
15016
15017
# File 'lib/kaltura_types.rb', line 15015

def field
  @field
end

#valueObject

Returns the value of attribute value.



15016
15017
15018
# File 'lib/kaltura_types.rb', line 15016

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



15019
15020
15021
15022
15023
15024
15025
15026
15027
# File 'lib/kaltura_types.rb', line 15019

def from_xml(xml_element)
  super
  if xml_element.elements['field'] != nil
    self.field = xml_element.elements['field'].text
  end
  if xml_element.elements['value'] != nil
    self.value = xml_element.elements['value'].text
  end
end