Class EncryptionBatchMigrationResult
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Represents the result of a batch encryption migration operation.
public sealed record EncryptionBatchMigrationResult : IEquatable<EncryptionBatchMigrationResult>
- Inheritance
-
EncryptionBatchMigrationResult
- Implements
- Inherited Members
Properties
CompletedAt
Gets the timestamp when the migration completed.
public required DateTimeOffset CompletedAt { get; init; }
Property Value
Duration
Gets the total duration of the batch migration.
public required TimeSpan Duration { get; init; }
Property Value
FailedCount
Gets the number of items that failed migration.
public required int FailedCount { get; init; }
Property Value
FailureResults
Gets the failed migration results indexed by item ID.
public IReadOnlyDictionary<string, EncryptionMigrationResult>? FailureResults { get; init; }
Property Value
IsPartialSuccess
Gets a value indicating whether the migration was partially successful.
public bool IsPartialSuccess { get; }
Property Value
MigrationId
Gets the migration identifier for this batch.
public required string MigrationId { get; init; }
Property Value
SkippedCount
Gets the number of items that were skipped.
public int SkippedCount { get; init; }
Property Value
StartedAt
Gets the timestamp when the migration started.
public required DateTimeOffset StartedAt { get; init; }
Property Value
SucceededCount
Gets the number of items that were successfully migrated.
public required int SucceededCount { get; init; }
Property Value
Success
Gets a value indicating whether all items were migrated successfully.
public required bool Success { get; init; }
Property Value
SuccessRate
Gets the success rate as a percentage.
public double SuccessRate { get; }
Property Value
SuccessResults
Gets the successful migration results indexed by item ID.
public IReadOnlyDictionary<string, EncryptionMigrationResult>? SuccessResults { get; init; }
Property Value
TotalItems
Gets the total number of items in the batch.
public required int TotalItems { get; init; }