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.



15187
15188
15189
# File 'lib/kaltura_types.rb', line 15187

def field
  @field
end

#valueObject

Returns the value of attribute value.



15188
15189
15190
# File 'lib/kaltura_types.rb', line 15188

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



15191
15192
15193
15194
15195
15196
15197
15198
15199
# File 'lib/kaltura_types.rb', line 15191

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