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.



14596
14597
14598
# File 'lib/kaltura_types.rb', line 14596

def field
  @field
end

#valueObject

Returns the value of attribute value.



14597
14598
14599
# File 'lib/kaltura_types.rb', line 14597

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14600
14601
14602
14603
14604
14605
14606
14607
14608
# File 'lib/kaltura_types.rb', line 14600

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