Class: Kaltura::KalturaAuditTrailChangeItem
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaAuditTrailChangeItem
- Defined in:
- lib/kaltura_plugins/kaltura_audit_client_plugin.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#descriptor ⇒ Object
Returns the value of attribute descriptor.
-
#new_value ⇒ Object
Returns the value of attribute new_value.
-
#old_value ⇒ Object
Returns the value of attribute old_value.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#descriptor ⇒ Object
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_value ⇒ Object
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_value ⇒ Object
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 |