VirtualPresence
public struct VirtualPresence : Equatable, Sendable
Representation of a virtual presence in the Sudo Platform Privacy Interaction service.
A virtual presence represents a connection to a third-party provider (for example an email account) through which data holders can be discovered on behalf of a Sudo.
-
Unique identifier of the virtual presence.
Declaration
Swift
public let id: String -
Identifier of the Sudo that owns this virtual presence.
Declaration
Swift
public let owner: String -
The type of presence (e.g. email, social).
Declaration
Swift
public let providerType: ProviderType -
The presence identifier (e.g. the email address).
Declaration
Swift
public let identifier: String -
Current connection state of the virtual presence.
Declaration
Swift
public let state: VirtualPresenceState -
Which relationship provider to use for discovery, if any.
Declaration
Swift
public let relationshipProvider: RelationshipProvider? -
Counts of this virtual presence’s data holders, broken down by protection state.
Declaration
Swift
public let dataHolderCount: DataHolderCount -
Time of the most recent scan.
Declaration
Swift
public let lastScannedAt: Date -
Record version, used for optimistic concurrency.
Declaration
Swift
public let version: Int -
Date the virtual presence was created.
Declaration
Swift
public let createdAt: Date -
Date the virtual presence was last updated.
Declaration
Swift
public let updatedAt: Date -
init(id:owner: providerType: identifier: state: relationshipProvider: dataHolderCount: lastScannedAt: version: createdAt: updatedAt: ) Declaration
Swift
public init( id: String, owner: String, providerType: ProviderType, identifier: String, state: VirtualPresenceState, relationshipProvider: RelationshipProvider?, dataHolderCount: DataHolderCount, lastScannedAt: Date, version: Int, createdAt: Date, updatedAt: Date )
VirtualPresence Structure Reference