StateChange

class oci.audit.models.StateChange(**kwargs)

Bases: object

A container object for state change attributes.

Example:

{ "previous": null, "current": null } -----

__init__(**kwargs)

Initializes a new StateChange object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • previous (dict(str, object)) -- The value to assign to the previous property of this StateChange.
  • current (dict(str, object)) -- The value to assign to the current property of this StateChange.
current

Gets the current of this StateChange. Provides the current state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to previous.

Returns:The current of this StateChange.
Return type:dict(str, object)
previous

Gets the previous of this StateChange. Provides the previous state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to current.

Returns:The previous of this StateChange.
Return type:dict(str, object)