Class: Kaltura::KalturaAuditTrailChangeItem

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_audit_client_plugin.rb

Direct Known Subclasses

KalturaAuditTrailChangeXmlNode

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

#descriptorObject

Returns the value of attribute descriptor.



249
250
251
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 249

def descriptor
  @descriptor
end

#new_valueObject

Returns the value of attribute new_value.



251
252
253
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 251

def new_value
  @new_value
end

#old_valueObject

Returns the value of attribute old_value.



250
251
252
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 250

def old_value
  @old_value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



254
255
256
257
258
259
260
261
262
263
264
265
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 254

def from_xml(xml_element)
	super
	if xml_element.elements['descriptor'] != nil
		self.descriptor = xml_element.elements['descriptor'].text
	end
	if xml_element.elements['oldValue'] != nil
		self.old_value = xml_element.elements['oldValue'].text
	end
	if xml_element.elements['newValue'] != nil
		self.new_value = xml_element.elements['newValue'].text
	end
end