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.



14877
14878
14879
# File 'lib/kaltura_types.rb', line 14877

def field
  @field
end

#valueObject

Returns the value of attribute value.



14878
14879
14880
# File 'lib/kaltura_types.rb', line 14878

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14881
14882
14883
14884
14885
14886
14887
14888
14889
# File 'lib/kaltura_types.rb', line 14881

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