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.



15089
15090
15091
# File 'lib/kaltura_types.rb', line 15089

def field
  @field
end

#valueObject

Returns the value of attribute value.



15090
15091
15092
# File 'lib/kaltura_types.rb', line 15090

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



15093
15094
15095
15096
15097
15098
15099
15100
15101
# File 'lib/kaltura_types.rb', line 15093

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