1// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2// Code generated. DO NOT EDIT.
3
4// Audit API
5//
6// API for the Audit Service. Use this API for compliance monitoring in your tenancy.
7// For more information, see Overview of Audit (https://docs.cloud.oracle.com/iaas/Content/Audit/Concepts/auditoverview.htm).
8// **Tip**: This API is good for queries, but not bulk-export operations.
9//
10
11package audit
12
13import (
14	"github.com/oracle/oci-go-sdk/common"
15)
16
17// StateChange A container object for state change attributes.
18// Example:
19//   -----
20//     {
21//       "previous": null,
22//       "current": null
23//     }
24//   -----
25type StateChange struct {
26
27	// Provides the previous state of fields that may have changed during an operation. To determine
28	// how the current operation changed a resource, compare the information in this attribute to
29	// `current`.
30	Previous map[string]interface{} `mandatory:"false" json:"previous"`
31
32	// Provides the current state of fields that may have changed during an operation. To determine
33	// how the current operation changed a resource, compare the information in this attribute to
34	// `previous`.
35	Current map[string]interface{} `mandatory:"false" json:"current"`
36}
37
38func (m StateChange) String() string {
39	return common.PointerString(m)
40}
41