Class: Kaltura::KalturaBeaconScheduledResourceOperator

Inherits:
KalturaBeaconScheduledResourceBaseItem show all
Defined in:
lib/kaltura_plugins/kaltura_beacon_client_plugin.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

#operatorObject

Returns the value of attribute operator.



226
227
228
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 226

def operator
  @operator
end

#search_itemsObject

Returns the value of attribute search_items.



227
228
229
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 227

def search_items
  @search_items
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



233
234
235
236
237
238
239
240
241
# File 'lib/kaltura_plugins/kaltura_beacon_client_plugin.rb', line 233

def from_xml(xml_element)
	super
	if xml_element.elements['operator'] != nil
		self.operator = xml_element.elements['operator'].text
	end
	if xml_element.elements['searchItems'] != nil
		self.search_items = KalturaClientBase.object_from_xml(xml_element.elements['searchItems'], 'KalturaBeaconScheduledResourceBaseItem')
	end
end