AnalysisResultUpdate
public struct AnalysisResultUpdate : Equatable, Sendable
Lightweight notification payload delivered when an analysis result is created or updated.
This does not include the full analysis data. Use getAnalysisResult to fetch the
complete typed data for the referenced analysis result.
-
Unique identifier of the analysis result.
Declaration
Swift
public let id: String -
Identifier of the virtual presence this analysis is associated with.
Declaration
Swift
public let virtualPresenceId: String -
Identifier of the data holder that was analyzed.
Declaration
Swift
public let dataHolderIdentifier: String -
Aggregate status of the analysis.
Declaration
Swift
public let status: AnalysisResultStatus -
Reason for the current
status, when the service provides one.Declaration
Swift
public let statusReason: AnalysisResultStatusReason? -
Time the aggregate was last derived.
Declaration
Swift
public let lastAnalyzedAt: Date -
Identifier of the Sudo that owns this analysis result.
Declaration
Swift
public let owner: String -
Record version, used for optimistic concurrency.
Declaration
Swift
public let version: Int -
Date the analysis result was created.
Declaration
Swift
public let createdAt: Date -
Date the analysis result was last updated.
Declaration
Swift
public let updatedAt: Date -
init(id:virtualPresenceId: dataHolderIdentifier: status: statusReason: lastAnalyzedAt: owner: version: createdAt: updatedAt: ) Declaration
Swift
public init( id: String, virtualPresenceId: String, dataHolderIdentifier: String, status: AnalysisResultStatus, statusReason: AnalysisResultStatusReason? = nil, lastAnalyzedAt: Date, owner: String, version: Int, createdAt: Date, updatedAt: Date )
AnalysisResultUpdate Structure Reference