Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Remove DataRedactionStatus enum because of serialization issues #242

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 1 addition & 18 deletions src/FaluSdk/Core/DataRedaction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class DataRedaction
/// <summary>
/// Indicates whether the object and its related objects have been redacted or not.
/// </summary>
public DataRedactionStatus Status { get; set; }
public string? Status { get; set; }

/// <summary>
/// Time at which the redaction was requested.
Expand All @@ -22,20 +22,3 @@ public class DataRedaction
/// </summary>
public DateTimeOffset? Completed { get; set; }
}

/// <summary>
/// Represents the status of a redaction.
/// </summary>
public enum DataRedactionStatus
{
/// <summary>
/// The object and its related objects have been redacted.
/// </summary>
Redacted,

/// <summary>
/// The object has been redacted, and its related objects are in the process of being redacted.
/// This process may take up to a week.
/// </summary>
Processing,
}