BaseOperationResult🔗
The object containing the intermediate state of an operation.
This class is deliberately
not
related to Result by
inheritance (and OperationResult below is, in turn, not
related to this class by inheritance either). aas-core-codegen
refuses to generate a schema for a concrete class with concrete
descendants unless it is marked
@serialization(with_model_type=True), which would introduce a
modelType discriminator property that the official schema does
not have for this hierarchy. Flattening the hierarchy avoids that
mismatch, at the cost of repeating BaseOperationResult.messages here.
Properties 🔗
- executionState: ExecutionState 🔗
-
Execution state
- messages: Optional[List[Message]] 🔗
-
Additional messages containing information for the requester
- success: Optional[bool] 🔗
-
Flag indicating whether the business operation behind the operation was successful (true) or not (false)
Invariants 🔗
-
Messages must be either not set or have at least one item.