Skip to main content

ChangedObject

ChangedObject

struct ChangedObject

Input/output state of an object that was changed during execution

BCS

The BCS serialized form for this type is defined by the following ABNF:

changed-object = object-id object-in object-out id-operation

init(objectId:inputState:outputState:idOperation:)

init(objectId: ObjectId, inputState: ObjectIn, outputState: ObjectOut, idOperation: IdOperation)

idOperation

var idOperation: IdOperation

Whether this object ID is created or deleted in this transaction. This information isn't required by the protocol but is useful for providing more detailed semantics on object changes.

inputState

var inputState: ObjectIn

State of the object in the store prior to this transaction.

objectId

var objectId: ObjectId

Id of the object

outputState

var outputState: ObjectOut

State of the object in the store after this transaction.