AnalysisResult
public struct AnalysisResult : Equatable, Sendable
Result of analyzing a data holder associated with a virtual presence.
The structured data payload is populated when status is .complete or .partial.
-
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 -
Structured analysis payload. Populated when
statusis.completeor.partial.Declaration
Swift
public let data: AnalysisResultData? -
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: data: owner: version: createdAt: updatedAt: ) Declaration
Swift
public init( id: String, virtualPresenceId: String, dataHolderIdentifier: String, status: AnalysisResultStatus, statusReason: AnalysisResultStatusReason? = nil, lastAnalyzedAt: Date, data: AnalysisResultData?, owner: String, version: Int, createdAt: Date, updatedAt: Date )
AnalysisResult Structure Reference