Class: Kaltura::KalturaObjectTask

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_scheduled_task_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

#stop_processing_on_errorObject

Returns the value of attribute stop_processing_on_error.



89
90
91
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 89

def stop_processing_on_error
  @stop_processing_on_error
end

#typeObject

Returns the value of attribute type.



88
89
90
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 88

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



95
96
97
98
99
100
101
102
103
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 95

def from_xml(xml_element)
	super
	if xml_element.elements['type'] != nil
		self.type = xml_element.elements['type'].text
	end
	if xml_element.elements['stopProcessingOnError'] != nil
		self.stop_processing_on_error = xml_element.elements['stopProcessingOnError'].text
	end
end