Class: Kaltura::KalturaSearchOperator

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

#itemsObject

Returns the value of attribute items.



15068
15069
15070
# File 'lib/kaltura_types.rb', line 15068

def items
  @items
end

#typeObject

Returns the value of attribute type.



15067
15068
15069
# File 'lib/kaltura_types.rb', line 15067

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



15074
15075
15076
15077
15078
15079
15080
15081
15082
# File 'lib/kaltura_types.rb', line 15074

def from_xml(xml_element)
  super
  if xml_element.elements['type'] != nil
    self.type = xml_element.elements['type'].text
  end
  if xml_element.elements['items'] != nil
    self.items = KalturaClientBase.object_from_xml(xml_element.elements['items'], 'KalturaSearchItem')
  end
end